import {Paragraph} from "@tiptap/extension-paragraph";
import {ReactNodeViewRenderer} from "@tiptap/react";
import {ParagraphView} from "../view/paragraph";


export const MyParagraph = Paragraph.extend({
    addAttributes() {
        return {
            start:0,
            end:0
        }
    },
    addNodeView() {
        return ReactNodeViewRenderer(ParagraphView)
    },
})